<!--首页主要内容-->
<main id="content" role="main">
  <div class="container clearfix">
    <div class="mod mod-headline">
      <h1 class="b"><?= $taxonomyTitle ?></h1>
      <p><?= $taxonomySubTitle ?></p>
    </div>
    <div class="par parsys">
      <div class="textimage">
        <div class="mod mod-text-image skin-text-only clearfix">
          <div class="mod mod-media-lightbox">
            <div class="content rich">
              <?= $taxonomyDescription ?>
            </div>
          </div>
        </div>
      </div>
      <?php if (!empty($tempCourseLevel)) { ?>
        <div class="textimage">
          <div class="mod mod-text-image skin-text-only clearfix">
            <div class="mod mod-media-lightbox">
              <div class="content rich">
                <h2>课程层次</h2>
              </div>
            </div>
          </div>
        </div>
        <?php foreach ($tempCourseLevel as $item) { ?>
          <div class="textimage">
            <div class="mod mod-text-image  clearfix">
              <div class="image">
                <img alt="" title="" src="<?= $item['image'] ?>">
              </div>
              <div class="mod mod-media-lightbox">
                <div class="content rich">
                  <h3><?= $item['title'] ?></h3>
                  <?= $item['content'] ?>
                  <p><a href="<?= $item['link']['url'] ?>"><?= $item['link']['title'] ?></a></p>
                </div>
              </div>
            </div>
          </div>
        <?php } ?>
      <?php } ?>
      <?php if (!empty($tempCourse)) { ?>
        <div class="textimage" id="education-course">
          <div class="mod mod-text-image skin-text-only clearfix">
            <div class="mod mod-media-lightbox">
              <div class="content rich">
                <h2>课程主题</h2>
              </div>
            </div>
          </div>
        </div>

        <div class="g-row g-layout-responsive-33">
          <?php foreach ($tempCourse as $k => $item) { ?>
            <div class="block_4 g-col g-col-1 column <?= $k == 0 ? 'column-first' : ''?>">
              <div class="textimage">
                <div class="mod mod-text-image skin-image-only clearfix">
                  <div class="image">
                    <a href="<?= $item['url'] ?>">
                      <img alt="<?= $item['title'] ?>" title="" src="<?= $item['image'] ?>">
                    </a>
                  </div>
                </div>
              </div>
              <div class="textimage">
                <div class="mod mod-text-image skin-text-only clearfix">
                  <div class="mod mod-media-lightbox">
                    <div class="content rich">
                      <p style="text-align: center;"><a href="<?= $item['url'] ?>"><?= $item['title'] ?></a></p>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          <?php } ?>
        </div>

      <?php } ?>
      <div class="textimage">
        <div class="mod mod-text-image skin-text-only clearfix">
          <div class="mod mod-media-lightbox">
            <div class="content rich">
              <?= $taxonomyStatement ?>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</main>